projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
832f3d7
)
tests: Don't mutate usr/sbin separately
author
Colin Walters
<walters@verbum.org>
Tue, 29 Apr 2025 22:16:13 +0000
(18:16 -0400)
committer
Colin Walters
<walters@verbum.org>
Tue, 29 Apr 2025 22:33:29 +0000
(18:33 -0400)
It's now a symlink to usr/bin on Fedora derivatives.
tests/inst/src/treegen.rs
patch
|
blob
|
history
diff --git
a/tests/inst/src/treegen.rs
b/tests/inst/src/treegen.rs
index 88bd0b7a9b811d816013556b182db108ef18267c..a8f7dc71a82c99d39b98ea7f601a6754b98a4880 100644
(file)
--- a/
tests/inst/src/treegen.rs
+++ b/
tests/inst/src/treegen.rs
@@
-136,7
+136,7
@@
pub(crate) fn update_os_tree<P: AsRef<Path>>(
let mut mutated = 0;
{
let tempdir = Dir::open_ambient_dir(tempdir.path(), cap_std::ambient_authority())?;
- let binary_dirs = &["usr/bin", "usr/
sbin", "usr/
lib", "usr/lib64"];
+ let binary_dirs = &["usr/bin", "usr/lib", "usr/lib64"];
let rootfs = Dir::open_ambient_dir("/", cap_std::ambient_authority())?;
for v in binary_dirs {
let v = *v;